From f8c28cc373b1942f19f1b343f301e16d25463ac5 Mon Sep 17 00:00:00 2001 From: bibo38 Date: Thu, 5 Nov 2015 21:39:37 +0100 Subject: Commented the GetDirectionVec method --- src/Blocks/BlockPiston.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Blocks/BlockPiston.h b/src/Blocks/BlockPiston.h index f8851e091..0001a5787 100644 --- a/src/Blocks/BlockPiston.h +++ b/src/Blocks/BlockPiston.h @@ -81,6 +81,9 @@ public: } } + /** This method converts the magic piston metadata into a direction vector. + This vector has a length of 1 and points into the direction, in which the piston will extend. + */ static Vector3i GetDirectionVec(int a_PistonMeta); static void ExtendPiston(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World); -- cgit v1.2.3